﻿//一对一结构
{
	"List": {
		"Current": [
			{
				"VMType": 2,
				"SortOrder": 0,
				"vmItemCode": "Department",
				"vmItemName": "Department",
				"ViewModelItemSchema": {
					"ViewModelItemCode": "Department",
					"Relation": null,
					"Properties": [
						{
							"ViewModelItemCode": null,
							"ID": "DepartmentID",
							"Code": "ID",
							"Name": "主键标识",
							"Description": "主键标识",
							"DataType": 11,
							"IsPrimaryKey": true,
							"SortOrder": 0,
							"IsDetail": false,
							"IsVirtual": false,
							"RelatePropertyCode": null,
							"SubSchema": null
						},
						{
							"ViewModelItemCode": null,
							"ID": "DepartmentCode",
							"Code": "Code",
							"Name": "编号",
							"Description": "编号",
							"DataType": 11,
							"IsPrimaryKey": false,
							"SortOrder": 1,
							"IsDetail": false,
							"IsVirtual": false,
							"RelatePropertyCode": null,
							"SubSchema": null
						},
						{
							"ViewModelItemCode": null,
							"ID": "DepartmentName",
							"Code": "Name",
							"Name": "名称",
							"Description": "名称",
							"DataType": 11,
							"IsPrimaryKey": false,
							"SortOrder": 2,
							"IsDetail": false,
							"IsVirtual": false,
							"RelatePropertyCode": null,
							"SubSchema": null
						},
						{
							"ViewModelItemCode": null,
							"ID": "DepartmentName",
							"Code": "CompanyID",
							"Name": "所属公司ID",
							"Description": "所属公司ID",
							"DataType": 11,
							"IsPrimaryKey": false,
							"SortOrder": 3,
							"IsDetail": false,
							"IsVirtual": true,
							"RelatePropertyCode": null,
							"SubSchema": null
						},
						{
							"ViewModelItemCode": null,
							"ID": "Department-Company",
							"Code": "Company",
							"Name": "公司",
							"Description": "公司",
							"DataType": 12,
							"IsPrimaryKey": false,
							"SortOrder": 4,
							"IsDetail": false,
							"IsVirtual": false,
							"RelatePropertyCode": "CompanyID",
							"SubSchema": {
								"ViewModelItemCode": "Company",
								"Relation": {
									"ID": "05d24233-b6a1-4d37-baac-002478d44386",
									"FromViewModelItemSchemaCode": "Department",
									"FromPropertyCode": "CompanyID",
									"ToViewModelItemSchemaCode": "Company",
									"ToPropertyCode": "ID"
								},
								"Properties": [
									{
										"ViewModelItemCode": null,
										"ID": "CompanyID",
										"Code": "ID",
										"Name": "主键标识",
										"Description": "主键标识",
										"DataType": 11,
										"IsPrimaryKey": true,
										"SortOrder": 0,
										"IsDetail": false,
										"IsVirtual": false,
										"RelatePropertyCode": null,
										"SubSchema": null
									},
									{
										"ViewModelItemCode": null,
										"ID": "CompanyCode",
										"Code": "Code",
										"Name": "编号",
										"Description": "编号",
										"DataType": 11,
										"IsPrimaryKey": false,
										"SortOrder": 1,
										"IsDetail": false,
										"IsVirtual": false,
										"RelatePropertyCode": null,
										"SubSchema": null
									},
									{
										"ViewModelItemCode": null,
										"ID": "CompanyName",
										"Code": "Name",
										"Name": "名称",
										"Description": "名称",
										"DataType": 11,
										"IsPrimaryKey": false,
										"SortOrder": 2,
										"IsDetail": false,
										"IsVirtual": false,
										"RelatePropertyCode": null,
										"SubSchema": null
									}
								]
							}
						},
						{
							"ViewModelItemCode": null,
							"ID": "DepartmentCreateTime",
							"Code": "CreateTime",
							"Name": "创建时间",
							"Description": "创建时间",
							"DataType": 3,
							"IsPrimaryKey": false,
							"SortOrder": 4,
							"IsDetail": false,
							"IsVirtual": false,
							"RelatePropertyCode": null,
							"SubSchema": null
						}
					]
				}
			}
		]
	},
	"DataResult": null,
	"Count": 0
}